package com.yc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yc.entity.base.BaseEntity;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @author HuChaoJie
 */
@Data
@Component
@TableName(value = "labeldept", autoResultMap = true)
public class LabelDept extends BaseEntity{

    /**
     * 部门id
     */
    @TableId(value = "tid", type = IdType.AUTO)
    private Long tid;

    /**
     * 部门名称
     */

    private String tname;


}
